package chixing.day05;

public class ShopTest {
    /**
     * new 开辟一块堆内存
     * Shop() 初始化对象属性，执行无参构造函数方法体
     */
    public static void main(String[] args) {
        Shop shop2 = new Shop(101, "海底捞", "苏州中心店", 4.5f);
        Shop shop1 = new Shop();
        shop1.setShopId(1);
        shop1.setShopName("海底捞"); //实际参数（实参：argument）
        shop1.setBranchName("苏州中心店");
        shop1.setShopScore(4.5f);
        Shop shop3= new Shop(102, "海底捞", "苏州中心店");

    }
}
